package com.joinlabs.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.joinlabs.entity.Comment;
import com.joinlabs.mapper.CommentMapper;
import com.joinlabs.service.IFindCommentByidService;
@Service("findCommentService")
public class FindCommentByidServiceImpl implements IFindCommentByidService {
   @Resource
   private CommentMapper commentmapper;
	@Override
	public List<Comment> selectAllCommentByWBid(long WBid) {
	
		return commentmapper.selectAllCommentByWBid(WBid);
	}
	@Override
	public int insertComment(Comment record) {
		int row=commentmapper.insertComment(record);
		return row;
	}


}
